package cn.edu.sjtu.se.dslab.dao;

import java.util.List;

import cn.edu.sjtu.se.dslab.project.EntityZoneCategory;

public interface IEntityZoneCategoryDao {
	public EntityZoneCategory queryById(long id);

	public EntityZoneCategory queryByName(String name);

	public List<EntityZoneCategory> queryByList();
	
	public void save(EntityZoneCategory entityZoneCategory);

	public EntityZoneCategory update(EntityZoneCategory entityZoneCategory);

	public void deleteEntityZoneCategory(EntityZoneCategory entityZoneCategory);
	
	public List<EntityZoneCategory> queryByProject(long projectId);

	public EntityZoneCategory queryByProjectAndName(long projectId, String name);
}
